﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Shared.master" AutoEventWireup="true"
    CodeFile="userPermission.aspx.cs" Inherits="ltMan_users_userPermission" %>

<asp:Content ID="C1" ContentPlaceHolderID="head" runat="Server">
    <style>
        .container
        {
            overflow: auto;
        }
        .perlist
        {
            display: inline-block;
            width: 100%;
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="C2" ContentPlaceHolderID="CPH1" runat="Server">
    <telerik:RadAjaxManagerProxy runat="server" ID="proxy1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadSave">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="mainPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <asp:Panel ID="mainPanel" runat="server" class="pad10">
        <telerikEx:InfoPanel runat="server" ID="infoPanel" />
        <table class="stab">
            <tr>
                <td colspan="2">
                    <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal"
                        RepeatLayout="Flow" CssClass="perlist">
                        <asp:ListItem>审核权限 </asp:ListItem>
                        <asp:ListItem>推荐权限 </asp:ListItem>
                        <asp:ListItem>添加权限 </asp:ListItem>
                        <asp:ListItem>删除权限 </asp:ListItem>
                    </asp:CheckBoxList>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <b>功能权限：</b><br />
                    <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" CheckChildNodes="True"
                        TriStateCheckBoxes="True">
                    </telerik:RadTreeView>
                </td>
                <td valign="top">
                    <b>栏目权限：</b><br />
                    <telerik:RadTreeView ID="RadTreeView2" runat="server" CheckBoxes="True" CheckChildNodes="True"
                        TriStateCheckBoxes="True" DataFieldID="class_id" DataFieldParentID="father_id"
                        DataTextField="classname" DataValueField="class_id">
                    </telerik:RadTreeView>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="ta-center">
                    <asp:Button ID="RadSave" runat="server" Text="保存" ToolTip="保存" CssClass="icon-text2 icon-save"
                        OnClick="RadSave_Click" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
